/**************************************************************************** **
 * Copyright (C) 2001-2020 Inhand Networks, Inc.
 **************************************************************************** **/

/* ************************************************************************** **
 *     MODULE NAME            : system
 *     LANGUAGE               : C
 *     TARGET ENVIRONMENT     : Any
 *     FILE NAME              : main.c
 *     FIRST CREATION DATE    : 2022/01/14
 * --------------------------------------------------------------------------
 *     Version                : 1.0
 *     Author                 : EExuke
 *     Last Change            : 2022/01/14
 *     FILE DESCRIPTION       :
** ************************************************************************** */

#include "mqtt_client.h"

/****************************************************************************
 *  Description   : The Main Function.
 ****************************************************************************/
int main(int argc, const char *argv[])
{
	if (mqtt_client_connect()) {
		printf("mqtt client connect failed.\n");
	}
	printf("mqtt client connect success.\n");

	while(1);

	mqtt_client_disconnect();

	return 0;
}


